package com.gw.yunke.domain.dto;

import com.gw.yunke.domain.Section;
import com.gw.yunke.domain.User;

import java.util.List;

public class CourseQueryResp {

  private String id;
  private String name;//课程名
  //private String createrName;
  //private Long createrId;
  private User user;
  private String description;//课程介绍
  private String instituteName;
  private String specialtyName;//系名
  private String imageId;//图片id
  private String imageReqPath;//图片路径
  private List<SectionResp> sectionList;

  private long allTime;
  private String type;
  private int likeAmount;
  private String code;
  private int rank;
  private String hint;
  private Byte hasCollect;//0 为收藏 1 已收藏
  private Boolean publish;//0-未发布 1-已发布

  public Byte getHasCollect() {
    return hasCollect;
  }

  public void setHasCollect(Byte hasCollect) {
    this.hasCollect = hasCollect;
  }

  public String getHint() {
    return hint;
  }

  public void setHint(String hint) {
    this.hint = hint;
  }

  public int getRank() {
    return rank;
  }

  public void setRank(int rank) {
    this.rank = rank;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

//  public String getCreaterName() {
//    return createrName;
//  }
//
//  public void setCreaterName(String createrName) {
//    this.createrName = createrName;
//  }
//
//  public Long getCreaterId() {
//    return createrId;
//  }
//
//  public void setCreaterId(Long createrId) {
//    this.createrId = createrId;
//  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getImageId() {
    return imageId;
  }

  public void setImageId(String imageId) {
    this.imageId = imageId;
  }

  public String getImageReqPath() {
    return imageReqPath;
  }

  public void setImageReqPath(String imageReqPath) {
    this.imageReqPath = imageReqPath;
  }

  public List<SectionResp> getSectionList() {
    return sectionList;
  }

  public void setSectionList(List<SectionResp> sectionList) {
    this.sectionList = sectionList;
  }

  public String getSpecialtyName() {
    return specialtyName;
  }

  public void setSpecialtyName(String specialtyName) {
    this.specialtyName = specialtyName;
  }

  public long getAllTime() {
    return allTime;
  }

  public void setAllTime(long allTime) {
    this.allTime = allTime;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public int getLikeAmount() {
    return likeAmount;
  }

  public void setLikeAmount(int likeAmount) {
    this.likeAmount = likeAmount;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getInstituteName() {
    return instituteName;
  }

  public void setInstituteName(String instituteName) {
    this.instituteName = instituteName;
  }

  public Boolean getPublish() {
    return publish;
  }

  public void setPublish(Boolean publish) {
    this.publish = publish;
  }
}
